package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.RebateMaterial;
import com.jsh.erp.datasource.entities.RebateMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RebateMaterialMapper {
    long countByExample(RebateMaterialExample example);

    int deleteByExample(RebateMaterialExample example);

    int deleteByPrimaryKey(String id);

    int insert(RebateMaterial record);

    int insertSelective(RebateMaterial record);

    List<RebateMaterial> selectByExample(RebateMaterialExample example);

    RebateMaterial selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RebateMaterial record, @Param("example") RebateMaterialExample example);

    int updateByExample(@Param("record") RebateMaterial record, @Param("example") RebateMaterialExample example);

    int updateByPrimaryKeySelective(RebateMaterial record);

    int updateByPrimaryKey(RebateMaterial record);
}